import request from "@/utils/request";

// 新增检查表
export function postBusinessAdd(data) {
  return request({
    url: "/business/add",
    method: "post",
    data,
  });
}

export function postBusinessUpdate(data) {
  return request({
    url: "/business/update",
    method: "put",
    data,
  });
}

export function getBusinessList(data) {
  return request({
    url: "/business/list",
    method: "post",
    data,
  });
}
export function getBusinessList1(data) {
  return request({
    url: "/business/list?v=1",
    method: "post",
    data,
  });
}

export function postBusinessDel(data) {
  return request({
    url: "/business/delete",
    method: "delete",
    data,
  });
}
